/* 头部 */
.tree-title {
    padding: 4px;
    margin-bottom: 10px;
    background: #f5fafe;
    border: 1px solid #ddd;
}

.tree-title span {
    height: 32px;
    line-height: 28px;
    display: inline-block;
    text-align: center;
    border-left: 1px solid #ddd;
}

.tree-title span:nth-child(1) {
    width: 19px;
    height: 25px;
    border-left: 0;
}

.tree-title span:nth-child(2) {
    width: 31%;
    text-indent: 10px;
    text-align: left;
}

.tree-title span:nth-child(3) {
    width: 10%;
}

.tree-title span:nth-child(4) {
    width: 10%;
}

.tree-title span:nth-child(5) {
    width: 15%;
}

.tree-title span:nth-child(6) {
    width: 24%;
}

/* 内容 */
.tree {
    width: 100%;
}

.tree li,
.tree li > a,
.tree li > span {
    padding: 4px;
}

.tree li a {
    color: #000;
    text-decoration: none;
}

.treemenu > li {
    list-style: none;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}

.treemenu li:hover {
    background: #d0d0d0;
    border: 1px solid #d0d0d0;
}

.tree li .item-box {
    width: 100%;
}

.tree li .item-box span {
    height: 32px;
    line-height: 28px;
    display: inline-block;
    text-align: center;
    border-left: 1px solid #ddd;
}

.tree li .item-box span:nth-child(1) {
    width: 31%;
    text-indent: 10px;
    text-align: left;
}

.tree li .item-box span:nth-child(2) {
    width: 10%;
}

.tree li .item-box span:nth-child(3) {
    width: 10%;
}

.tree li .item-box span:nth-child(4) {
    width: 15%;
}

.tree li .item-box span:nth-child(5) {
    width: 24%;
}

.treemenu li.tree-opened {
    background: #fff;
}

.treemenu li.tree-opened ul {
    margin-top: 10px;
}

.treemenu li.tree-opened > .item-box {
    color: #fff;
    background: rgb(90, 152, 222);
    display: inline-block;
    padding-left: 0;
    padding-right: 0;
    border-bottom: 1px solid #ddd;;
}

.treemenu li.tree-opened > .item-box span {
    height: 32px;
    line-height: 28px;
}

.treemenu li > ul {
    padding-left: 20px;
}

.treemenu .toggler {
    cursor: pointer;
}

.treemenu .toggler:before {
    display: inline-block;
    margin-right: 2pt;
}

li.tree-empty > .toggler:before {
    font-size: 16px;
    content: "\2212";
}

li.tree-opened > .toggler:before {
    font-size: 16px;
    content: "\2212";
}

li.tree-closed > .toggler:before {
    font-size: 16px;
    content: "+";
}

.label.label-danger {
    font-size: 14px;
    font-weight: normal;
    height: 21px;
    line-height: 21px;
    padding: 4px 12px;
    border-radius: 0px;
}

.label.label-success {
    font-size: 14px;
    font-weight: normal;
    height: 21px;
    line-height: 21px;
    padding: 4px 12px;
    border-radius: 0px;
}

/* 栏目管理子类以下变色 */
.treemenu .tree-opened li.tree-empty {
    background: rgba(59, 180, 242, 0.59);
    border: 1px solid rgba(59, 180, 242, 0.59);
}

.treemenu .label {
    color: #fff;
}

.treemenu .tree-option a.btn-warning, .treemenu .tree-option a.btn-danger, .treemenu .tree-option a.btn-success {
    color: #fff;
}

/* 分辨率 */
@media screen and (min-width: 800px) and (max-width: 1278px) {
    .tree-title span:nth-child(7) {
        width: 22%;
    }

    .tree li .item-box span:nth-child(6) {
        width: 22%;
    }
}

@media screen and (min-width: 1279px) and (max-width: 1358px) {
    .tree-title span:nth-child(7) {
        width: 23%;
    }

    .tree li .item-box span:nth-child(6) {
        width: 23%;
    }
}